package com.cheer.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author cheer
 */
@Data
public class MallOrderRefundApplyDTO {

    @NotNull(message = "订单Id不能为空")
    private Long id;

    @Length(max = 255, message = "退款说明的字符数不能超过255")
    private String explain;

    @Length(max = 20, message = "联系电话的字符数不能超过20")
    private String phone;
}
